package com.github.baichuan.mapping.entity;

import com.github.baichuan.mapping.Mapping;
import lombok.Getter;

import java.util.List;

@Getter
public class StudentDto {
    @Mapping
    private String name;

    @Mapping
    private int age;

    @Mapping
    private String gender;

    @Mapping
    private SchoolDto school;

    @Mapping
    private List<CourseDto> courses;
}
